//
//  SilentTableViewCell.m
//  Leo01
//
//  Created by 张旭 on 15/9/22.
//  Copyright (c) 2015年 张旭. All rights reserved.
//

#import "SilentTableViewCell.h"

@implementation SilentTableViewCell
@synthesize navController;
@synthesize timeLabel;
@synthesize rateLabel;
@synthesize silentTimeOnOff;

-(SilentTableViewCell *)getandSetData:(NSDictionary *)subdic{
    timeLabel.text = [subdic objectForKey:@"time"];
    rateLabel.text = [NSString stringWithFormat:@"%@",[subdic objectForKey:@"rate"]];
    [silentTimeOnOff setOn:[[subdic objectForKey:@"status"]isEqualToString:@"0"]?NO:YES];
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
